export const keyMap = (o) => fun => {
    var newObject = {}
    Object.keys(o).forEach(key => {
        newObject[fun(key)] = o[key]
    })
	return newObject
}
export const Copy = (o) => JSON.parse(JSON.stringify(o))